﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MonopolyNOHI2015;

namespace MonopolyTests
{
    [TestClass]
    public class EigendomsbewijsStationTests
    {
        private EigendomsbewijsStation _eigendomsbewijs;
        private StationVeld _veld;
        private Bord _bord;
        private Speler _spelerHerman;

        [TestInitialize]
        public void Setup()
        {
            _veld = new StationVeld(35, "Station Oost");
            _bord = new Bord();
            _spelerHerman = new Speler("Herman", 850, _bord);
            _eigendomsbewijs = new EigendomsbewijsStation(_spelerHerman, _veld, 200, 25, 50, 100, 200);
        }

        [TestMethod]
        public void TestOfGetHuurVan1Station25Is()
        {
            Assert.AreEqual(expected: 25, actual: _eigendomsbewijs.GetHuur(1));
        }

        [TestMethod]
        public void TestOfGetHuurVan2Stations50Is()
        {
            Assert.AreEqual(expected: 50, actual: _eigendomsbewijs.GetHuur(2));
        }

        [TestMethod]
        public void TestOfGetHuurVan3Stations100Is()
        {
            Assert.AreEqual(expected: 100, actual: _eigendomsbewijs.GetHuur(3));
        }

        [TestMethod]
        public void TestOfGetHuurVan4Stations200Is()
        {
            Assert.AreEqual(expected: 200, actual: _eigendomsbewijs.GetHuur(4));
        }
    }
}
